package com.sky.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "spark.api")
@Data
public class SparkAIConfig {
    private String url = "https://spark-api-open.xf-yun.com/v1/chat/completions";
    private String key = "hzLAGlKujRLnIFswnIKn";
    private String secret = "GfeTVEOQhIZuiZsPFEIn";
    private String model = "4.0Ultra";
    private int maxTokens = 8192;
    private double temperature = 0.1;
}